<?php
	defined("C5_EXECUTE") or die(_("Access Denied."));
	$this->inc("images.php", array("result" => $result));
?>	
<div id="processingGalleryBlock<?php  echo $controller->bID?>" class="processingGalleryBlock">
	<div class="processingContainer">
 		<object data="<?php echo $this->getBlockURL() ?>/swf/processing.swf" type="application/x-shockwave-flash" width="0" height="0" id="processing<?php  echo $controller->bID?>">
			<param name="allowScriptAccess" value="always" />
		</object>
	</div>
	<p class="processingDescription">サムネイルをクリックするとコードを実行します。</p>
	<ul class="processingThumbnails">
		<?php
			foreach($result as $key => $info) {
				echo "<li><a href=\"".$info["code"]."\"><img src=\"".$info["thumbnail"]."\" ";
				echo "title=\"".$info["description"]."\"/></a></li>";
			};
		?>
	</ul>
</div>
